package com.example.eureka.service.department.mapper;

import com.example.eureka.service.department.domain.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper {

    int insert(Department record);

    int insertSelective(Department record);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    int deleteByPrimaryKey(Long id);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();
}